package com.ruicar.afs.cloud.bizcommon.cfca.service;


import com.ruicar.afs.cloud.bizcommon.cfca.dto.CfCaSignatureDto;

import java.io.File;

/**
 * @author mingzhi.li
 */
public interface CfCaSignatureService {

    /**
     * 客户手动签字
     * @param dto
     * @return
     * @throws Exception
     */
    public byte[] getCfCaSignature(CfCaSignatureDto dto) throws Exception;
    /**
     * PC端创建电子签章合同模板
     * @param dto
     * @param file
     * @return
     * @throws Exception
     */
    public byte[] getCfCaSealCompanySign(CfCaSignatureDto dto, File file);

    File signCfCaSealCompanySeal(CfCaSignatureDto dto, File file);

}
